﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

using System.Text;

namespace SpmisCMS.Controllers
{
    public class HomeController : BaseController
    {
        //
        // GET: /Home/

        public ActionResult Index()
        {
            Org.SpmisFramework.TemplateEngine.VelocityHelper vh = new Org.SpmisFramework.TemplateEngine.VelocityHelper(@"D:\");
            vh.Put("name", "xuebiao");
            //return Content(vh.Build(@"template.txt"));
            return Velocity(@"template.txt");
        }

    }
}
